<?php
// 应用程序入口
define ( 'HERE_DIR', basename ( dirname ( dirname ( __FILE__ ) ) ) . '/shop' );
require dirname ( dirname ( __FILE__ ) ) . '/../../bootstrap.php';
$dispatcher = new Dispatcher ();
$action = rqst ( 'Ctlr', '' );
$action = empty ( $action ) ? '' : $action . '/';
$dispatcher->dispatch ( "/shop/" . $action );
?>